TimeInterval.Equals(TimeInterval) method¶
Defined in
Type: TimeIntervalSystem.Reactive
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public bool Equals(TimeInterval<T> other) - 2.
public override bool Equals(object? obj)
1. Overload¶
public bool Equals(TimeInterval<T> other)
Summary: Determines whether the current TimeInterval value has the same Value and Interval as a specified TimeInterval value.
Parameters
| Name | Type | Description |
|---|---|---|
other | [TimeInterval | An object to compare to the current [TimeInterval](# value. |
Returns: bool -- true if both TimeInterval values have the same Value and Interval; otherwise, false.
2. Overload¶
public override bool Equals(object? obj)
Summary: Determines whether the specified System.Object is equal to the current TimeInterval.
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | The System.Object to compare with the current [TimeInterval](# |
Returns: bool -- true if the specified System.Object is equal to the current TimeInterval; otherwise, false.